package service

import "go-bff-scaffold/dto"

type UserService struct {
	name    string
	message string
}

func NewUserService(user *dto.UserParam) *UserService {
	return &UserService{
		name:    user.Name,
		message: user.Message,
	}
}

func (_this *UserService) GetUserInfo() string {
	return "hello," + _this.name + _this.message
}
